package com.frejoys.common.dto.store;

import io.swagger.v3.oas.annotations.media.Schema;
import jakarta.validation.constraints.NotNull;
import lombok.Data;

/**
 * @author wangzhicheng
 * @version 1.0
 * @date 2024/5/21 10:32
 */
@Data
public class StoreCategorySaveDto {


    @NotNull(message = "{600}")
    @Schema(type = "Integer", name = "storeId", description = "店铺ID", required = true, defaultValue = "1")
    private Integer storeId;

    //名称
    @NotNull(message = "{600}")
    @Schema(type = "String", name = "name", description = "店铺类目名称", required = true, defaultValue = "1")
    private String name;


    @Schema(type = "Integer", name = "sort", description = "排序", required = true, defaultValue = "1")
    private Integer sort;
}
